package org.apache.click.doubleclick.samples.clickspring.pages;

import org.apache.click.doubleclick.inject.InjectAware;
import org.apache.click.doubleclick.inject.annotation.InjectBean;
import org.apache.click.doubleclick.samples.clickspring.greetingsservice.IGreetingsService;

public class AccessInjectAware extends InjectAware {
    @InjectBean
    private IGreetingsService greetingsService;

    public String sayGreetings(String name) {
        return greetingsService.sayHello(name);
    }
}
